/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.mach.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import org.springblade.core.mp.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 实体类
 *
 * @author LY
 * @since 2021-02-18
 */
@Data
@TableName("data_drawing_number_application_detail")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "DrawingNumberApplicationDetail对象", description = "DrawingNumberApplicationDetail对象")
public class DrawingNumberApplicationDetail extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 图号状态,1:已占用,2:审核中,3:已归档,4:已下线
	 */
	public static final int STATUS_OCCUPIED = 1;
	public static final int STATUS_REVIEW = 2;
	public static final int STATUS_ARCHIVED = 3;
	public static final int STATUS_OFFLINE = 4;

	/**
	* 图号申请表id
	*/
		@ApiModelProperty(value = "图号申请表id")
		private Long applicationId;

		/**
		 * 产品父类id
		 */
		@ApiModelProperty(value = "产品父类id")
		private Long productParentId;
		/**
		 * 产品大类id
		 */
		@ApiModelProperty(value = "产品大类id")
		private Long productChildId;
		/**
		 * 图纸类别(数据字典)
		 */
		@ApiModelProperty(value = "图纸类别(数据字典)")
		private Long drawingCategory;

	/**
	* 申请图号
	*/
		@ApiModelProperty(value = "申请图号")
		private String number;
	/**
	* 备注
	*/
		@ApiModelProperty(value = "备注")
		private String remark;

}
